<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@	taglib uri="/struts-tags" prefix="s" %>
	<div style="padding:10px;">
  		<span style="padding:10px;display:block;float:left;">
  			<label>销售人员:<s:iterator value="order">
  				${operator.realname }
  		</s:iterator></label>
  		</span>
  		<span style="padding:10px;display:block;float:left;">
  			<label>订单编号:${code }</label>
  		</span>
  		<span style="padding:10px;display:block;float:left">
  			<label>订单创建时间:<s:date name="date" format="yyyy-MM-dd HH:mm" /></label>
  		</span>
  		<div style="clear:both"></div>
  		</div>
  		
  	<!--  Goods_list  -->
  	<div>
  	
  		<table  width="100%" cellspacing="0" cellpadding="0">
    		<tr>
    			<th class="th_first">货物名称:</th>
    			<th>货物编号:</th>
    			<th>售出数量:</th>
    			<th>单位:</th>
    			<th>销售单价:</th>
    			<th>收款金额:</th>
    			<th>备注:</th>
    		</tr>
    		<s:iterator value="recordList">
    		<tr>
    			<td class="td_first">${product.name }&nbsp;</td>
    			<td>${product.code }&nbsp;</td>
    			<td>${quantity }&nbsp;</td>
    			<td>${product.unit }&nbsp;</td>
    			<td>${price }&nbsp;</td>
    			<td>${amount }&nbsp;</td>
    			<td>${remark }&nbsp;</td>
    		</tr>
    		</s:iterator>
		</table>  	
		
		<div>
			<s:if test="order.status=='未发货'">
				<a href="OrderAction!checkout.action?orderid=${id }">发货</a>
			</s:if>
		</div>
    </div>
